package com.dz.lm.service.manager;

import com.dz.lm.common.exception.ServiceException;

import java.util.List;
import java.util.Map;


public interface ManagerService {

    int updateAuthUserInfo(Map<String, Object> param) throws ServiceException;
    
    List<Map<String, Object>> searchMoneyBars(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> addMoneyBarManager(Map<String, Object> param) throws ServiceException;
    
    int addCreditCardInfo(Map<String, Object> param) throws ServiceException;
    
    int updateCreditCardInfo(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryCreditCardInfo(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> previewCreditCardInfo(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryMyProductList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryUserAgentProductList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryLowLevelAgentList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryMyAgentList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryAgentProductApplyList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryUserAgentProductApplyList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryMyAgentProductApplyList(Map<String, Object> param) throws ServiceException;
    
    int delMyProduct(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryMyProductApplyList(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> qryApplyInfo(Map<String, Object> param) throws ServiceException;
    
    Map<String, Object> processApplyRecord(Map<String, Object> param) throws ServiceException;
    
    int deleteMoneyBarAgent(Map<String, Object> param)throws ServiceException;
    
    Map<String, Object> getManagerList(Map<String, Object> param) throws ServiceException;
    
    int doAuthManager(Map<String, Object> param)throws ServiceException;
    
    int deleteBarManager(Map<String, Object> param)throws ServiceException;
    
    Map<String, Object> qryBarFavoriteListByUser(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryBarFavoriteListByBar(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryUserSetInfo(Map<String, Object> param)throws ServiceException;
    
	int userSet(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryUserHomeInfo(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryUserHomeProducts(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryManageAuthInfo(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> modifyManageAuthInfo(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryUserHomeComments(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qryMyApplyList(Map<String, Object> param)throws ServiceException;
	
	Map<String, Object> qry1LevelAgentProductList(Map<String, Object> qryParam)throws ServiceException;
	
	int add2LevelAgent(Map<String, Object> param) throws ServiceException;
	
	int add2LevelAgentProduct(Map<String, Object> param) throws ServiceException;
	
	Map<String, Object> qryMyAccountInfo(Map<String, Object> param)throws ServiceException;
	
	int orgAuthManager(Map<String, Object> param)throws ServiceException;
	
	List<Map<String, Object>> qryMoneyBarList(Map<String, Object> param) throws ServiceException;
	
    int auditMoneyBar(Map<String, Object> param) throws ServiceException;
}
